package cn.liu.jetpack_demo.api

import cn.liu.jetpack_demo.models.Person

object UserApi {
  fun getUsers(): List<Person> {
    return listOf(
      Person(
        id = 1,
        username = "liuc",
        age = 22,
        address = "harbin",
        phone = "123456789",
        avatar = "https://avatars.githubusercontent.com/u/49747074?v=4"
      ),
      Person(
        id = 2,
        username = "hrbyuy",
        age = 32,
        address = "neimenggu",
        phone = "123456789",
        avatar = "https://avatars.githubusercontent.com/u/49747074?v=4"
      ),
      Person(
        id = 3,
        username = "liuyx",
        age = 18,
        address = "beijing",
        phone = "123456789",
        avatar = "https://avatars.githubusercontent.com/u/49747074?v=4"
      )
    )
  }
}